Carbon


GetModalDialogEventMask

Header: Dialogs.h Carbon status: Supported

Obtains the events to be received by the ModalDialog function.

OSStatus GetModalDialogEventMask (
    DialogPtr inDialog, 
    EventMask *outMask
);
inDialog

A pointer to the dialog box for which you wish to obtain the event mask.

outMask

On input, a pointer to a unsigned 16-bit integer of type EventMask. On return, your application may test the bits of this value to determine the event(s) that the dialog box is currently set to receive.

function result

A result code.

DISCUSSION

Also see the function SetModalDialogEventMask.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when DialogsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by DialogsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)